import { createApp } from 'vue'
import App from './App.vue'
// 1.在命令行窗口下载 element-plus 库，执行 npm i element-plus
// 2.导入组件库与样式
import ElementPlus from "element-plus"
import 'element-plus/dist/index.css'
import {Lock, User} from '@element-plus/icons-vue'

const app = createApp(App)
// 注册组件
app.component(User.name, User)
app.component(Lock.name, Lock)

// 3.全局注册组件库
app.use(ElementPlus)
app.mount("#app")
